package com.lanyam.travel.base.entity.vo;


import com.fasterxml.jackson.annotation.JsonProperty;
import com.lanyam.travel.base.entity.DistrRecord;
import com.lanyam.travel.base.entity.OrderUser;
import com.lanyam.travel.base.entity.Product;
import com.lanyam.travel.base.entity.TravelOrder;
import com.lanyam.travel.base.entity.TravelOrderDetails;

import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import org.springframework.boot.autoconfigure.kafka.KafkaProperties.Producer;
import org.springframework.data.domain.jaxb.SpringDataJaxb.OrderDto;

public class TravelOrderVo extends TravelOrder {

    /**
     * 是否是抢购
     */
    @JsonProperty(value="isPanic")
    private String isPanic;

    /**
     * 商品名称
     */
    @JsonProperty(value="goodsName")
    private String goodsName;

    /**
     * 	用户名称
     */
    @JsonProperty(value="userName")
    private String userName;

    /**
     * 	区域（0-国内，1-国外）
     */
    @JsonProperty(value="region")
    private Integer region;
    
    /**
     * 供应商名称
     */
    @JsonProperty(value="supplierName")
    private String supplierName;
    
    /**
     * 供应商电话
     */
    @JsonProperty(value="supplierPhone")
    private String supplierPhone;

    /**
	 * 	订单里面的详细信息
	 */
	@JsonProperty(value="orderDetailList")
	private List<TravelOrderDetails> orderDetailList;
	/**
	 * 游客信息
	 */
    @JsonProperty(value="orderUserList")
	private List<OrderUser> orderUserList;


	@JsonProperty("product")
	private Product product;
	/**
	 * 订单中房间类型/票种类型每日的价格
	 */
	@JsonProperty("datePriceList")
	private List<OrderGoodsDateVo> datePriceList;
	
	/**
	 * 分销提成
	 */
	@JsonProperty("distrAmount")
	private Double distrAmount;
	
	/**
	 * 分销员名称
	 */
	@JsonProperty("distrUserName")
	private String distrUserName;
	
	/**
	 * 分销员电话
	 */
	@JsonProperty("distrPhone")
	private String distrPhone;
	
	/**
	 * 审核人名称
	 */
	@JsonProperty("verifyUserName")
	private String verifyUserName;
	
	/**
	 * 审核人名称
	 */
	@JsonProperty("confirmUserName")
	private String confirmUserName;
	
	/**
	 * 利润
	 */
	@JsonProperty("benifit")
	private Double benifit;
	 
	/**
	 * 订单上的分销记录
	 */
	@JsonProperty("distrRecordList")
	private List<DistrRecordVo> distrRecordList;
	
	/**
	 * 订单上的分销记录
	 */
	@JsonProperty("distrRecords")
	private List<DistrRecord> distrRecords;
	
	
	public List<DistrRecord> getDistrRecords() {
		return distrRecords;
	}

	public void setDistrRecords(List<DistrRecord> distrRecords) {
		this.distrRecords = distrRecords;
	}

	public List<DistrRecordVo> getDistrRecordList() {
		return distrRecordList;
	}

	public void setDistrRecordList(List<DistrRecordVo> distrRecordList) {
		this.distrRecordList = distrRecordList;
	}

	public Double getBenifit() {
		return benifit;
	}

	public void setBenifit(Double benifit) {
		this.benifit = benifit;
	}

	public String getVerifyUserName() {
		return verifyUserName;
	}

	public void setVerifyUserName(String verifyUserName) {
		this.verifyUserName = verifyUserName;
	}

	public String getConfirmUserName() {
		return confirmUserName;
	}

	public void setConfirmUserName(String confirmUserName) {
		this.confirmUserName = confirmUserName;
	}

	public Double getDistrAmount() {
		return distrAmount;
	}

	public void setDistrAmount(Double distrAmount) {
		this.distrAmount = distrAmount;
	}

	public String getDistrUserName() {
		return distrUserName;
	}

	public void setDistrUserName(String distrUserName) {
		this.distrUserName = distrUserName;
	}

	public String getDistrPhone() {
		return distrPhone;
	}

	public void setDistrPhone(String distrPhone) {
		this.distrPhone = distrPhone;
	}

	public String getSupplierPhone() {
		return supplierPhone;
	}

	public void setSupplierPhone(String supplierPhone) {
		this.supplierPhone = supplierPhone;
	}

	public List<OrderGoodsDateVo> getDatePriceList() {
		return datePriceList;
	}

	public void setDatePriceList(List<OrderGoodsDateVo> datePriceList) {
		this.datePriceList = datePriceList;
	}

	public Product getProduct() {
		return product;
	}

	public void setProduct(Product product) {
		this.product = product;
	}

	public String getSupplierName() {
		return supplierName;
	}

	public void setSupplierName(String supplierName) {
		this.supplierName = supplierName;
	}

	public List<OrderUser> getOrderUserList() {
		return orderUserList;
	}

	public void setOrderUserList(List<OrderUser> orderUserList) {
		this.orderUserList = orderUserList;
	}

	public String getIsPanic() {
		return isPanic;
	}

	public void setIsPanic(String isPanic) {
		this.isPanic = isPanic;
	}

	public String getGoodsName() {
		return goodsName;
	}

	public void setGoodsName(String goodsName) {
		this.goodsName = goodsName;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public Integer getRegion() {
		return region;
	}

	public void setRegion(Integer region) {
		this.region = region;
	}

	public List<TravelOrderDetails> getOrderDetailList() {
		return orderDetailList;
	}

	public void setOrderDetailList(List<TravelOrderDetails> orderDetailList) {
		this.orderDetailList = orderDetailList;
	}
	
}